var jsonurl="http://192.168.99.35/cloudwifi/api/cloud/index.php";

window.onload=function(){
    var broseObj=document.documentElement;
    document.webkitIsFullScreen=true;
    if(broseObj.requestFullScreen) {
        broseObj.requestFullScreen();
    } else if(broseObj.mozRequestFullScreen) {
        broseObj.mozRequestFullScreen();
    } else if(broseObj.webkitRequestFullScreen) {
        broseObj.webkitRequestFullScreen();
    }
    //隐藏浏览器地址栏
    if(document.documentElement.scrollHeight <= document.documentElement.clientHeight) {
        bodyTag = document.getElementsByTagName('body')[0];
        bodyTag.style.height = document.documentElement.clientWidth / screen.width * screen.height + 'px';
    }
    setTimeout(function() {
        window.scrollTo(0, 1)
    }, 0);
}